<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link rel="stylesheet" type="text/css" href="./CSS/mode_selection.css" />
<script type="text/javascript" src="js/jquery-1.6.2.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#setting  input").click(function(){

		var json = $(this).attr("option");
  
      alert("mode: "+json);

	
/*  uncomment this to verify cgi call
  $.get("./cgi-bin/mode_selection.cgi?name=mode&option="+json, function(result){
   alert(result);
  }); 
 */

})

})
</script>	
</head>

<body>
<p id="text_area0">模式选择</p>
<div id="mode_selection"> 
<table id="setting">
    <caption>工作模式设置</caption>
    <tr>
        <td><input name="mode" type="button" option="1" value="模式一" /></td>
        <td><input name="mode" type="button" option="2" value="模式二" /></td>
    </tr>
    <tr>
        <td><input name="mode" type="button" option="3" value="模式三" /></td>
        <td><input name="mode" type="button" option="4" value="模式四" /></td>
    </tr>
    <tr>
        <td><input name="mode" type="button" option="5" value="模式五" /></td>
        <td><input name="mode" type="button" option="6" value="模式六" /></td>
    </tr>
</table>
</body>
</html>
